package com.freight.order.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.freight.base.vo.AreaAddressVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Data
public class CommonLineListVo extends AreaAddressVo {

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "个人货主")
    private String personalName;

    @ApiModelProperty(value = "常用路线Id")
    private Long commonId;

    @ApiModelProperty(value = "联系人")
    private String username;

    @ApiModelProperty(value = "货主名称")
    private String companyName;

    @ApiModelProperty(value = "货主Id")
    private Long companyUserId;

    @ApiModelProperty(value = "起始县区列表")
    private String beginAreaCode;

    @ApiModelProperty(value = "起始地址")
    private String beginAddress;

    @ApiModelProperty(value = "结束县区列表")
    private String endAreaCode;

    @ApiModelProperty(value = "结束地址")
    private String endAddress;

    @ApiModelProperty(value = "装货经度")
    private Double beginLng;

    @ApiModelProperty(value = "装货纬度")
    private Double beginLat;

    @ApiModelProperty(value = "卸货经度")
    private Double endLng;

    @ApiModelProperty(value = "卸货纬度")
    private Double endLat;

    @ApiModelProperty(value = "装货电子围栏")
    private Double pretendEnclosure;

    @ApiModelProperty(value = "卸货电子围栏")
    private Double dischargeEnclosure;

    @ApiModelProperty(value = "收货联系人名称")
    private String takeContactName;

    @ApiModelProperty(value = "收货人电话")
    private String takePhone;

    @ApiModelProperty(value = "提货人单位名称")
    private String extractName;

    @ApiModelProperty(value = "提货联系人名称")
    private String extracContactName;

    @ApiModelProperty(value = "收货人名称")
    private String takeName;

    @ApiModelProperty(value = "提货人电话")
    private String extractPhone;

}
